#include<stdio.h>

void swap(int* p1, int* p2) {
	int t = *p1;
	*p1 = *p2;
	*p2 = t;
}

int* fool() {
	int arr[] = { 1,2,3,4,5 };
	return &arr[0];
}

int main009() {
	int a = 3, b = 4;
	printf("a==%d,b==%d\n", a, b);
	swap(&a, &b);
	printf("a==%d,b==%d\n", a, b);

	int* p = fool();
	printf("p==%d", *p);
	return 0;
}